 package com.rtx.config.ctclass;

 import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import com.rtx.edi.platform.baseinfo.service.PlApiStdRequestService;

 /**
  * 启动时加载CTClass 额外字段
  * @author ltt
  *
  */
@SuppressWarnings("all")
//@Component
public class CtclassLoad implements CommandLineRunner{

	 Logger log = LoggerFactory.getLogger(CtclassLoad.class);

	 @Autowired
	 private PlApiStdRequestService plApiStdRequestService;


	 @Override
	 public void run(String... args) {
		 plApiStdRequestService.loadCtClass();
	 }
	 

 }
